home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / InputBox.au3 < prev    next >
Text File  |  2006-06-17  |  614b  |  13 lines

  1. ;Places the input box in the top left corner displaying the characters as they 
  2. ;are typed.
  3. $answer = InputBox("Question", "Where were you born?", "Planet Earth", "", _
  4.     -1, -1, 0, 0)
  5.  
  6. ;Asks the user to enter a password.  Don't forget to validate it!
  7. $passwd = InputBox("Security Check", "Enter your password.", "", "*")
  8.  
  9. ;Asks the user to enter a 1 or 2 character response.  The M in the password 
  10. ;field indicates that blank string are not accepted and the 2 indicates that the 
  11. ;responce will be at most 2 characters long.
  12. $value = InputBox("Testing", "Enter the 1 or 2 character code.", "", " M2")
  13.